local PLUGIN = exsto.CreatePlugin()

PLUGIN:SetInfo({
		Name = "IntelliBan warn",
		ID = "ibwarn",
		Desc = "Give the player an IntelliBan warning.",
		Owner = "Roelof",
} )

function PLUGIN:IBWarn( owner, ply )
		http.Get("http://roelofr.djoamersfoort.nl/intelliban/givewarning.php?steamid="..ply:SteamID().."&clanid="..IntelliBan_ClanID,"", function(args,c,s)
			checkIntellibanPlayer(args[1])
		end,ply)
		return {
				Activator = owner,
				Player = ply,
				Wording = " has warned "
				Secondary = " with IntelliBan."
		}
end
PLUGIN:AddCommand( "slay", {
		Call = PLUGIN.IBWarn,
		Desc = "Slays a player",
		FlagDesc = "Allows users to slay a player.",
		Console = { "slay" },
		Chat = { "!slay" },
		ReturnOrder = "Victim",
		Args = {Victim = "PLAYER"},
})

PLUGIN:Register()